{php include wl_template('common/header');}
<ul class="nav nav-tabs" id="myTab">
	<li class="active"><a  href="#tab_basic">短信设置</a></li>
</ul>
<div class="app-content">
	<div class="app-form">
		<form action="" method="post" class="form-horizontal form form-validate" id="setting-form">
			<div class="panel panel-default">
				<div class="panel-heading">短信设置</div>
				<div class="panel-body">
					<div class="tab-content">
						<div class="form-group">
							<label class="col-md-2 control-label"></label>
							<div class="col-sm-9">
								<div class="alert alert-warning">注: 先添加短信模板，然后再选择对应的模板。海外短信模板和国内模板不同，需要单独设置。不需要海外使用，则无需配置。</div>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-2 control-label">身份验证</label>
							<div class="col-sm-9">
								<select name="dy_sf" class="form-control">
									<option value="" {if empty($settings['dy_sf'])}selected="selected"{/if}>请选择短信模板</option>
									{loop $smses $row}
										<option value="{$row['id']}" {if $settings['dy_sf'] == $row['id']}selected="selected"{/if}>{$row['name']}</option>
									{/loop}
								</select>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-2 control-label">身份验证（海外）</label>
							<div class="col-sm-9">
								<select name="dy_sfhw" class="form-control">
									<option value="" {if empty($settings['dy_sfhw'])}selected="selected"{/if}>请选择短信模板</option>
									{loop $smses $row}
										<option value="{$row['id']}" {if $settings['dy_sfhw'] == $row['id']}selected="selected"{/if}>{$row['name']}</option>
									{/loop}
								</select>
							</div>
						</div>
						{if Customized::init('pft147') > 0}
						<div class="form-group">
							<label class="col-md-2 control-label">核销码通知</label>
							<div class="col-sm-9">
								<select name="dy_hxm" class="form-control">
									<option value="" {if empty($settings['dy_hxm'])}selected="selected"{/if}>请选择短信模板</option>
									{loop $smses $row}
									<option value="{$row['id']}" {if $settings['dy_hxm'] == $row['id']}selected="selected"{/if}>{$row['name']}</option>
									{/loop}
								</select>
							</div>
						</div>
						{/if}
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-2 control-label"></label>
				<div class="col-sm-9">
					<input type="submit" name="submit" value="提交" class="btn btn-primary min-width" />
					<input type="hidden" name="token" value="{$_W['token']}" />
				</div>
			</div>
		</form>
	</div>
</div>
{php include wl_template('common/footer');}